package com.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author WxrStart
 * @create 2022-06-14 14:31
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Orders {
    @TableId(type= IdType.AUTO)
    private Integer orderId;
    private Integer orderPrice;
    private Integer orderStatus;
    private Integer ouId;
    private Integer isSeckillorder;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
